Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: transfer mint in demo app #983

Merged
merged 43 commits into from
Sep 27, 2024
Merged

feat: transfer mint in demo app #983

merged 43 commits into from
Sep 27, 2024

Conversation

RobChangCA
Copy link
Collaborator

@RobChangCA RobChangCA commented Sep 25, 2024

Pull Request Checklist


PR-Codex overview

This PR focuses on enhancing the NFT minting process by modifying configurations, adding new icons, and improving component states. It introduces new features for user interaction and updates the handling of NFT transfers and states.

Detailed summary

  • Updated next.config.mjs to include remote image patterns.
  • Changed chain from sepolia to arbitrumSepolia in providers.tsx.
  • Added CheckIcon, DrawIcon, GasIcon, ReceiptIcon, and LoadingIcon components.
  • Introduced MintCard for NFT minting with status handling.
  • Added nftTransfered state management in context.
  • Enhanced UI components to reflect new states and interactions.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Testing steps

  • In the demo app login with email or passkey.
  • Avatar should appear with a red status
  • Click "collect nft"
  • You should be brought through the NFT transfer flow (loading states should move from loading to complete)
  • Avatar should have green status
  • Click "learn how" on the second value prop - it should open a new tab to https://accountkit.alchemy.com/react/sponsor-gas
  • Click on 'build with account kit' - it should open a new tab to https://dashboard.alchemy.com/
  • Click on 'view docs' - it should open a new tab to https://accountkit.alchemy.com/react/quickstart
  • Click on 'view on arbiscan' - it should bring you to the arbiscan block explorer (we have noted it can take up to 10 minutes for the block to appear here.

Please note - Avatar and Success/Error toast are in fast follow PRs. The Avatar PR will remove the logout button.

Copy link

vercel bot commented Sep 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aa-sdk-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2024 8:46pm
aa-sdk-ui-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2024 8:46pm

examples/ui-demo/public/images/NFT.png Outdated Show resolved Hide resolved
account-kit/react/src/hooks/useAuthenticate.ts Outdated Show resolved Hide resolved
examples/ui-demo/src/components/icons/external-link.tsx Outdated Show resolved Hide resolved
examples/ui-demo/src/components/shared/MintCard.tsx Outdated Show resolved Hide resolved
examples/ui-demo/src/components/shared/MintCard.tsx Outdated Show resolved Hide resolved
examples/ui-demo/src/components/shared/MintCard.tsx Outdated Show resolved Hide resolved
examples/ui-demo/src/utils/config.ts Outdated Show resolved Hide resolved
examples/ui-demo/src/utils/config.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants